# -*- coding:utf-8 -*-

'''
 5种基本类型
 Numbers:int  long(只存在2.X版本中)  float   complex
 String:
 List:可改变
 Tuple:只读，不可改变
 Dictionary
'''


# 测试数据类型装换
def transfer():
    var1 = 123
    print(str(var1))

    var2 = "123"
    print(int(var2))


# 测试数组、列表、元组
def main():
    var1 = [234, 23423, 4235]
    var2 = ('123', 2341, 123)
    var3 = {'sef': '123'}
    print(var1)
    print(var2)
    print(var3)

    transfer()


if __name__ == '__main__':
    main()
